package com.itheima.test1;

public class Test1Innerclass {
    public static void main(String[] args) {
        swim(() -> System.out.println("铁汁,我们去游泳吧!!!"));
    }
    public static void swim(Inner i){
        i.swimming();
    }
}

interface Inner{
    public abstract void swimming();
}




